{% extends "template.html" %}

{% block title %}mtop{% endblock %}

{% block page_title %}mtop{% endblock %}

{% block head_additions %}
    <script type="text/javascript" src="/static/jquery-1.3.2.min.js"></script>
<script>
 $(document).ready(function() {
{# 	 $("#responsecontainer").load("/mtop/rawout{% if filter %}?filter={{filter}}{% endif %}");#}
   var refreshId = setInterval(function() {
      $("#responsecontainer").load('/mtop/rawout{% if filter %}?filter={{filter}}{% endif %}');
   }, 5000);
});
</script>
{% endblock %}

{% block page_descruption %}{% if filter %} Output is filtered: {{filter}} &nbsp;&nbsp; <i>(Use empty string to disable filtering.)</i>{% endif %}{% endblock %}

{% block sidebar_pages %}{% endblock %}

{% block body %}
<pre>
<font size=-2><div id="responsecontainer">{{body|safe}}</div></font>
</pre>
{% endblock %}